import 'package:backend.core/core/domain/entities/user_role.dart';
import 'package:equatable/equatable.dart';

class RefreshToken extends Equatable {
  const RefreshToken({
    required this.value,
    required this.userId,
    required this.userRole,
    required this.expirationTime,
  });

  final String value;
  final String userId;
  final UserRole userRole;
  final DateTime expirationTime;

  @override
  List<Object?> get props {
    return [
      value,
      userId,
      userRole,
      expirationTime,
    ];
  }
}
